Transformation of Path Information for WCET Analysis during Compilation
نویسندگان
چکیده
Performing worst case execution time WCET analysis on machine code with program path annota tion provided at high level source code level requires the transformation of path annotations from the source code level to assembly object code level This path information transformation can be done outside or in tegrated into the compiler during code compilation The rst approach is easier to implement but lacks for the support of strong code optimizations performed by the compiler because the external tool would have to make guesses about optimizations In this paper we present an approach for the program code compilation that inte grates the transformation of program path information into the compiler Path information is transformed through all compiler stages to the adequate path infor mation for the corresponding assembly code level The WCET analysis tool processes the program at assembly code level with the correctly transformed program path information to obtain accurate runtime bounds Sev eral experiments were performed to demonstrate the importance of supporting the transformation of path information in aggressively optimizing compilers
منابع مشابه
Worst-case Execution Time Analysis at Low Cost
Research in Worst-Case Execution Time (WCET) analysis aims at integrating WCET analysis with program compilation. This integration increases compiler complexity and forces real-time software developers to use speciic compilers. This paper describes a simple approach to WCET analysis that is not compiler speciic: A software tool reads the path information contained in source programs and maps th...
متن کاملAnalysis of path exclusion at the machine code level
We present a method to find static path exclusions in a control flow graph in order to refine the WCET analysis. Using this information, some infeasible paths can be discarded during the ILP-based longest path analysis which helps to improve precision. The new analysis works at the assembly level and uses the Omega library to evaluate Presburger formulas.
متن کاملThe CoSTA Transformer: Integrating Optimizing Compilation and WCET Flow Facts Transformation
The determination of the worst-case execution time (WCET) of a program is a critical issue for the design of safety-critical real-time systems. Because the exact timing of the program depends on the lowlevel hardware instructions, tools that automatically calculate an upper bound for the WCET typically operate on the object code level. In order to get tighter WCET estimates, these tools often r...
متن کاملCombining Symbolic Execution and Path Enumeration in Worst-Case Execution Time Analysis
This paper examines the problem of determining bounds on execution time of real-time programs. Execution time estimation is generally useful in real-time software verification phase, but may be used in other phases of the design and execution of real-time programs (scheduling, automatic parallelizing, etc.). This paper is devoted to the worst-case execution time (WCET) analysis. We present a st...
متن کاملTiming Analysis of Optimised Code
Timing analysis is a crucial test for dependable hard real-time systems (DHRTS). The calculation of the worst-case execution time (WCET) is mandatory. As modern compilers are capable to produce small and efficient code, software development for DHRTS today is mostly done in high-level languages instead of assembly code. Execution path information available at source code (flow facts) therefore ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001